<?php foreach($widgets as $widget):?>
        <a href="/AdminWidgets/add.json" class="add_widget" data-widget="<?php echo strtolower($widget['WidgetType']['name'])?>">
            <p><?php echo $widget['WidgetType']['name'];?>
        </a>
<?php endforeach;?>